<template>
<!-- 仅用于home -->
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item v-for="item in lunbotu" :key="item.id">
      <img :src=" _localhost+ item.img" />
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props: ["lunbotu"],
};
</script>

<style scoped>
.van-swipe{
    margin-right: .1rem;
}
.my-swipe .van-swipe-item {
  padding: .1rem ;
  color: #fff;
  line-height: 1.5rem;
  text-align: center;
  background-color: #F6F8F5;
  height: 1.5rem;
}
img{
    width: 100vw;
    height: 1.5rem;
}
</style>